package com.ktdaddy.utils;

import java.util.List;

/**
 * @Author: lujianhao
 * @Description: 分页数据
 * @Date: 2021/7/20 5:11 下午
 */
public class PageResult {
    private int page; // 当前页数
    private int total; // 总页数
    private long records; //总记录数
    private List<?> items; // 每页显示的内容

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public long getRecords() {
        return records;
    }

    public void setRecords(long records) {
        this.records = records;
    }

    public List<?> getItems() {
        return items;
    }

    public void setItems(List<?> items) {
        this.items = items;
    }
}
